package com.freedy.concurrent.Monitors;

/**
 * @author Freedy
 * @date 2021/4/22 19:45
 */
public class Sleeper {
    public static void sleep(double time){
        try {
            Thread.sleep((long) (time*1000));
        } catch (InterruptedException e) {
            throw new RuntimeException(e);
        }
    }
}
